<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/

/**
 * Description of CleanString
 *
 * @author cshepherd
 */
class CleanString {
    public function clean($variable) {
        $vocalti= array ("á","é","í","ó","ú","Á","É","Í","Ó","Ú");
        $vocales= array ("a","e","i","o","u","A","E","I","O","U");
        $variable = str_replace($vocalti, $vocales,$variable);        
        return $variable;
    }

}
?>
